/*
 * MessageTimeListItem.java
 * business
 *
 * Created by ChenTao on 2017/6/28.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.MessageTimeHolder;

/**
 * MessageTimeListItem
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017-06-28 18:13
 */
public class MessageTimeListItem extends DisplayListItem<MessageTimeHolder, String> {

    public MessageTimeListItem(String s) {
        super(s);
    }

    @Override
    public void onShow(Context context, MessageTimeHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return MessageTimeListItem.class.getSimpleName();
    }

    @Override
    public Class<MessageTimeHolder> getViewHolderClazz() {
        return MessageTimeHolder.class;
    }
}
